package com.examsage.examsage.service;

import com.examsage.examsage.model.ExamSession;
import com.baomidou.mybatisplus.extension.service.IService;
import com.examsage.examsage.model.vo.ResponseVO;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author examsage
 * @since 2025-07-02
 */
public interface IExamSessionService extends IService<ExamSession> {

    ResponseVO addExamSession(ExamSession examSession);

    ResponseVO getExamSession(int year);

    ResponseVO getExamSessionById(Long id);

    ResponseVO updateExamSessionById(Long id, ExamSession examSession);

    ResponseVO deleteExamSessionById(Long id);


}
